package com.fmy.security.service;

import com.fmy.security.commons.unusual.TokenException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author Mr.fmy
 * @version 1.0.0
 * @ClassName TokenExceptionHander.java
 * @Description TODO token异常处理接口
 * @createTime 2019年07月06日 13:41:00
 */
public interface TokenExceptionHander {

    void hander(HttpServletRequest request, HttpServletResponse response, TokenException e) throws IOException;

}
